package cn.trda.mapper;

import java.util.List;

import cn.trda.pojo.RolePremission;

public interface AsRolePremissionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(RolePremission record);

    int insertSelective(RolePremission record);

    RolePremission selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RolePremission record);

    int updateByPrimaryKey(RolePremission record);
    List<RolePremission> selectByRoleid(Long roleid);
    public int deleteByRoleId(Long roleid) throws Exception;
}